package com.imooc.town.service.impl;

import com.imooc.town.dataobject.SellerInfo;
import com.imooc.town.reponsitory.SellerInfoReponsitory;
import com.imooc.town.service.SellerService;
import org.springframework.stereotype.Service;

/**
 * create by song on 2018/3/25
 * To change this template use File | Settings | File Templates.
 */

@Service
public class SellerServiceImpl implements SellerService {


    private SellerInfoReponsitory reponsitory;

    @Override
    public SellerInfo findSellerInfoByOpenid(String openid) {
        return reponsitory.findByOpenid ( openid );
    }
}
